home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 143
/
(Vol 143) Nov 15 2011.iso
/
Games
/
bratz_fashion_designer.swf
/
scripts
/
DefineButton2_1152
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2011-11-15
|
691b
|
25 lines
on(release){
var pj = new PrintJob();
pj.start();
if(pj.orientation == "portrait")
{
EndPrint._rotation = 90;
EndPrint._xscale = 130;
EndPrint._yscale = EndPrint._xscale;
pj.addPage(EndPrint,{xMin:-60,xMax:800,yMin:0,yMax:420});
EndPrint._xscale = 100;
EndPrint._yscale = EndPrint._xscale;
EndPrint._rotation = 0;
}
else if(pj.orientation == "landscape")
{
EndPrint._xscale = 130;
EndPrint._yscale = EndPrint._xscale;
pj.addPage(EndPrint,{xMin:-60,xMax:800,yMin:-25,yMax:420});
EndPrint._xscale = 100;
EndPrint._yscale = EndPrint._xscale;
}
pj.send();
delete pj;
}